@import './base.css';

body {
  display: flex;
  overflow: hidden;
  background-size: cover;
  user-select: none;
  font-family: 'Menlo', 'Lucida Console', monospace;
}

code {
  font-weight: 600;
  padding: 3px 5px;
  border-radius: 2px;
  background-color: var(--color-background-mute);
  font-family:
    ui-monospace,
    SFMono-Regular,
    SF Mono,
    Menlo,
    Consolas,
    Liberation Mono,
    monospace;
  font-size: 85%;
}


.versions {
  position: absolute;
  bottom: 30px;
  margin: 0 auto;
  padding: 15px 0;
  font-family: 'Menlo', 'Lucida Console', monospace;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  border-radius: 22px;
  background-color: #202127;
  backdrop-filter: blur(24px);
}

.versions li {
  display: block;
  float: left;
  border-right: 1px solid var(--ev-c-gray-1);
  padding: 0 20px;
  font-size: 14px;
  line-height: 14px;
  opacity: 0.8;
  &:last-child {
    border: none;
  }
}

.app {
  width: 100vw;
  height: 100vh;
}
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 10px;
  background: var(--color-background);
  background-image: url('./wavy-lines.svg');
}
.container-card-warp {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.main-card {
  flex-shrink: 0;
  width: 22vw;
  height: 40vh;
  border-radius: 15px;
  background-color: #202127;
  backdrop-filter: blur(14px);
  font-size: 0.9em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.main-card:hover {
  cursor: pointer;
  background-color: #202127;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  transform: scale(0.98);
  transition: all 0.3s ease-in-out;
}
.main-card:hover .svg-icon svg path {
  fill: #eee;
}
.main-card-more {
  position: absolute;
  right: 5px;
  bottom: 5px;
  font-size: 0.8em;
  color: #666;
}
.main-card-more svg:hover path {
  fill: #eee;
}
.screen-shot {
  width: 100vw;
  height: 100vh;
}

.view-shot-screen {
  width: 100vw;
  height: 100vh;
  position: relative;
  background-color: #202127;
}
.view-shot-screen:hover .view-shot-screen-tabs {
  bottom: 0;
}
.view-shot-screen img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 100;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}
.view-shot-screen-tabs {
  position: absolute;
  bottom: -20vh;
  width: 100%;
  height: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色背景 */
  backdrop-filter: blur(2px); /* 可选：添加背景模糊效果 */
  transition: all 0.3s ease;
  z-index: 999;
}

.view-shot-screen-tab {
  display: flex;
  padding: 5px;
  border-radius: 3px;
}

.view-shot-screen-tab svg {
  width: 15px;
  height: 15px;
}

.view-shot-screen-tab svg path {
  fill: #eee;
}

@media (max-width: 720px) {
  .text {
    font-size: 20px;
  }
}

@media (max-width: 620px) {
  .versions {
    display: none;
  }
}

@media (max-width: 350px) {
  .tip,
  .actions {
    display: none;
  }
}
